import {createApp} from "vue";
import App from "./App.vue";
import router from "./router";
import {QuillEditor} from '@vueup/vue-quill'
import '@vueup/vue-quill/dist/vue-quill.snow.css';
import "./style.scss";
import 'quill-image-uploader';

const app = createApp(App);
app.use(router);
app.component('QuillEditor', QuillEditor)

Object.values(import.meta.glob('./modules/*.js', {eager: true}))
  .forEach(i => i.install?.({
    app,
    router
  }));
app.mount("#app");
